﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EstateManager.aspx.cs"
    Inherits="ZLDC.Estate.TM.EstateManager" %>

<%@ Register Src="../UserControl/Estate_Autocomplete.ascx" TagName="Estate_Autocomplete"
    TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>楼盘查询</title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <link href="../js/jquery/style/jquery.hiAlerts.css" rel="stylesheet" type="text/css" />
    <link href="../js/jquery.autocomplete/jquery.autocomplete.css" rel="stylesheet" type="text/css" />

    <script src="../js/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../js/jquery.autocomplete/jquery.autocomplete.min.js" type="text/javascript"></script>

    <script src="../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="divSearch" style="margin-top: 5px; text-align: center;">
        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
            <tr>
                <td style="width: 35%; text-align: left; background-color: #FFFFFF; cursor: pointer;"
                    valign="middle">
                    &nbsp;<span>片区:</span>
                    <select id="sCity1" name="sCity1" runat="server" style="width: 50px;" onchange="return loadCity('sCity1', 'sCity2')">
                    </select>
                    <select id="sCity2" name="sCity2" runat="server" style="width: 50px;" onchange="return loadCity('sCity2', 'sCity3')">
                    </select>
                    <select id="sCity3" name="sCity3" runat="server" style="width: 50px;">
                    </select>
                </td>
                <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;" valign="middle">
                    楼盘名称:&nbsp;&nbsp;&nbsp;<uc1:Estate_Autocomplete ID="Estate_Autocomplete1" runat="server" />
                </td>
                <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;" valign="middle">
                    <select id="sOtherColumns">
                        <option value="">其它条件</option>
                        <option value="realestateName">开发商</option>
                        <option value="realestateTel">开发商电话</option>
                        <option value="propertyCompany">物业公司</option>
                        <option value="propertyTel">物业公司电话</option>
                    </select>
                    <input id="iOtherColumnsValue" name="iOtherColumnsValue" style="width: 100px;" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;" valign="middle">
                    &nbsp;用途:
                    <select id="sUsage" name="sUsage" runat="server">
                    </select>
                    &nbsp;类型:
                    <select id="sType" name="sType" runat="server">
                    </select>
                </td>
                <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;" valign="middle">
                    <select id="sDateColumns" style="width: 70px;">
                        <option value="">日期类型</option>
                        <option value="registerDate">登记时间</option>
                        <option value="updateDate">修改时间</option>
                    </select><input id="iStartDay" name="iStartDay" onclick="WdatePicker()" style="width: 80px;" />
                    ~
                    <input id="iEndDay" name="iEndDay" onclick="WdatePicker()" style="width: 80px;" />
                </td>
                <td style="text-align: left; background-color: #FFFFFF; cursor: pointer;" valign="middle">
                    状态：
                    <select id="sIsValid" name="sIsValid" runat="server">
                        <option value="-1">全部</option>
                        <option value="0">有效</option>
                        <option value="4">待整理</option>
                        <option value="1">待审核</option>
                        <option value="2">无效</option>
                        <option value="3">待匹配</option>                        
                    </select>
                    
                    <input id="btnSearch" class="button_bak" type="button" value="查询" onclick="return search()" />
                </td>
            </tr>
        </table>
    </div>
    <div id="divHead" style="margin-top: 2px; margin-bottom: 2px;">
    
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td height="24" bgcolor="#353c44">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <img src="../images/tb.gif" width="14" height="14" /><span class="STYLE1">楼盘列表</span>
                            </td>
                            <td>
                                <div align="right" id="divOperator">
                                    <img src="../images/add.gif" width="10" height="10" />
                                    <asp:HyperLink ID="HLAddEstate" NavigateUrl="EstateAdd.aspx?typeid=1" CssClass="STYLE1"
                                        runat="server">添加楼盘</asp:HyperLink>&nbsp;
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div id="divList" style="height: 420px; overflow-x: auto; overflow-y: auto;">
    </div>
    <div id="divBottom" style="position: relative;">
        <div id="divPage">
        </div>
        <div style="text-align: right; font-weight: bold;"> 
            <input id="Button1" type="button" value="审核" class="button_bak" onclick="return del(2)" />&nbsp;&nbsp;
            <asp:Button ID="btnDelete" runat="server" CssClass="button_bak" Text="删除" OnClientClick="return del(1)" />
            &nbsp;&nbsp;
            <input id="btnAllCheck" type="button" value="审核全部栋阁房号" runat="server" onclick="return checkAll(1)" visible ="false" />&nbsp;&nbsp;
            <input id="btnAllDel" type="button" value="删除全部栋阁房号" runat="server" onclick="return checkAll(2)" />&nbsp;&nbsp;
        </div>
    </div>
    <!--修改-->
    <div id="divLayer" style="display: none; background: none repeat scroll 0% 0% rgb(255, 255, 255);
        width: 350px; height: 160px;">
        <h1 id="popup_title">
            修改</h1>
        <em id="ctl"></em><em id="cbl"></em><em id="ctr"></em><em id="cbr"></em>
        <div id="tabcontent" style="text-align: center; margin-left: 20px; margin-right: 20px;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        楼盘别名：
                    </td>
                    <td>
                        <input id="iEname" name="iEname" value="" type="text" style="width: 200px" />
                    </td>
                </tr>
            </table>
        </div>
        <div id="tabbottom" style="text-align: right;">
            <input id="btnOk" runat="server" class="button_bak" type="button" value="确定" onclick="UpdateBuild()" />
            <input id="btnReturn" class="button_bak" type="button" value="返回" onclick="closeLayer()" />
        </div>
    </div>
    <input id="hID" name="hID" runat="server" type="hidden" />
    <input id="hID_List" name="hID_List" type="hidden" />
   
    <div style="display: none;">
        <input id="iUserName" runat="server" type="text" />
        <input id="ideptid" runat="server" type="text" />
        <input id="iUserDept" runat="server" type="text" />
    </div>
    <input id="hCompetencesIsEdit" name="hCompetencesIsEdit" value="0" type="hidden"
        runat="server" />
    <!-- 0不允许修改 1允许修改 -->
    <input id="hCompetencesIsOtherName" name="hCompetencesIsOtherName" value="0" type="hidden"
        runat="server" /><!-- 0不允许申请别名 1允许申请别名 -->
        
    <input id="hCompetencesIsCheck" name="hCompetencesIsCheck" value="0" type="hidden"
        runat="server" />
    </form>
</body>

<script src="../js/jquery/jquery.hiAlerts-min.js" type="text/javascript"></script>

<script src="../js/LexunJS.js" type="text/javascript"></script>

<script src="../js/jShowDiv.js" type="text/javascript"></script>

<script src="js/EstateManagerJS.js?v=20111207" type="text/javascript"></script>

</html>
